﻿//        Another Demo from Andy L. & MissedMemo.com
// Borrow whatever code seems useful - just don't try to hold
// me responsible for any ill effects. My demos sometimes use
// licensed images which CANNOT legally be copied and reused.

using System;


namespace MissedMemo.MeatAndCheeseDisc.Services
{
    class Program
    {
        static void Main( string[] args )
        {
            try
            {
                Host.StartServices();

                Console.Title = "Simple Order Processing Service Host";

                Console.WriteLine( "Order manager and monitor services are running." );
                
                Console.WriteLine();
                Console.WriteLine( "You may now launch client applications..." );
                
                Console.WriteLine();
                Console.WriteLine();
                Console.WriteLine( "(Press any key to stop services)" );
                Console.ReadKey( true );
            }
            finally
            {
                Host.StopServices();
            }
        }
    }
}
